'use strict';

var BaseFun = require('../../../Base/server/controllers/Function'),
	ExtendEnumController = require('../controllers/ExtendEnum.server.controller'),
	ParameterController = require('../controllers/Parameter.server.controller'),
	Schedule = require('../controllers/Schedule.js');

module.exports = function(app) {
};

BaseFun.addRoute('/api/Common/getExtendEnum', ExtendEnumController.getExtendEnum);
BaseFun.addRoute('/api/Common/getParameterValue', ParameterController.getParameterValue);

BaseFun.addRoute('/api/Common/submitRequests', Schedule.submitRequests);
BaseFun.addRoute('/api/Common/cancelRequests', Schedule.cancelRequests);
BaseFun.addRoute('/api/Common/executeSchedulers', Schedule.executeSchedulers);